﻿namespace HuaWei.CommClass
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    public class TableInfo
    {

        private string botbmnerR;

        private bool flag;

        private bool flag1;

        private bool flag2;

        private string str;

        private string str1;

        public TableInfo()
        {
        }

        public TableInfo(string TableName, string CName, [Optional, DefaultParameterValue(false)] bool IsMaster, [Optional, DefaultParameterValue(true)] bool flag3, [Optional, DefaultParameterValue(false)] bool HasDetail, [Optional, DefaultParameterValue("TYSB")] string LockField)
        {
            this.IsMaster = IsMaster;
            this.TableName = TableName;
            this.CName = CName;
            this.LockField = LockField;
            this.Boolean = flag3;
            this.HasDetail = HasDetail;
        }

        public bool Boolean
        {
    
            get
            {
                return this.flag1;
            }
    
            set
            {
                this.flag1 = value;
            }
        }

        public string CName
        {
    
            get
            {
                return this.botbmnerR;
            }
    
            set
            {
                this.botbmnerR = value;
            }
        }

        public bool HasDetail
        {
    
            get
            {
                return this.flag2;
            }
    
            set
            {
                this.flag2 = value;
            }
        }

        public bool IsMaster
        {
    
            get
            {
                return this.flag;
            }
    
            set
            {
                this.flag = value;
            }
        }

        public string LockField
        {
    
            get
            {
                return this.str1;
            }
    
            set
            {
                this.str1 = value;
            }
        }

        public string TableName
        {
    
            get
            {
                return this.str;
            }
    
            set
            {
                this.str = value;
            }
        }
    }
}

